/* BlueprintCSS overrides */

/* Plugin Sidebar */
.bp3-tree-node-content {
  height: 40px;
  padding-left: 13px;
  padding-right: 0;
}

.bp3-tree-node-label {
  height: 100%;
}

.bp3-tree-node-caret {
  z-index: 1;
}

.bp3-tree-node-label {
  display: flex;
  align-items: center;
  padding-left: 3.35rem;
  margin-left: -3.015rem;
}

.bp3-tree {
  padding-left: 0px;
  margin-left: -20px;
  width: calc(100% + 40px);
}

/* Forms and inputs */
.bp3-tooltip .bp3-popover-arrow {
  margin-top: -2px;
}

.bp3-popover-wrapper,
.bp3-popover-target {
  width: 100%;
}

.bp3-form-helper-text {
  font-size: 11px !important;
  opacity: 0.8 !important;
  text-align: right;
}

.bp3-tag-input .bp3-button {
  position: absolute !important;
  right: 0;
  top: 0;
  bottom: 0;
}

/* Jira plugin tabs */
.bp3-tab-indicator {
  width: 8px;
  top: -3px;
  border-radius: 100%;
  height: 8px !important;
  left: -3px !important;
}

.bp3-tab {
  border-radius: 3px;
  border: 1px solid rgba(0,0,0,0.15);
  padding: 0.1rem 0.5rem;
  outline: 0;
  display: inline-block;
  margin-bottom: 0.75rem;
}

.bp3-tab-list {
  display: inline-block;
  max-width: 600px;
}

.bp3-running-text table, table.bp3-html-table {
  font-size: 1.0em;
}

button, .bp3-button {
  font-size: 1.1em;
}

.bp3-breadcrumbs {
  & > li {
    &::after {
      background: transparent url();
      background-size: contain;
      transform: scale(0.7);
      background-repeat: no-repeat;
      opacity: 0.3;
    }
  }
}

.bp3-toast-message {
  padding: 13px;
}

.bp3-popover-wrapper {
  &.select-epic-key, &.select-story-key {
    width: auto;
    // min-width: 260px;
    max-width: 300px;
  }
}

.bp3-select-popover {
  .bp3-menu {
    max-height: calc(10 * 32px);
    overflow: auto;
  }
}

.bp3-multi-select-popover {
  max-width: 600px;
  overflow: auto;
  text-overflow: ellipsis;
  .bp3-menu-item {
    .bp3-menu-item-label {
      max-width: 70%;
      white-space: nowrap;
      text-overflow: ellipsis;
      overflow: hidden;
    }
  }
}